package com.gator.desig_mode.dicorator;

/**
 * @author 何章怀晓 hezhanghuaixiao
 * @version V1.0
 * @desc 单体咖啡
 */
public class ShortBlack extends Coffee {

  public ShortBlack() {
    setDesc("普通咖啡");
    setPrice(2.00f);
  }
}


//脱因咖啡
class Decaf extends Coffee {

  public Decaf() {
    setDesc("脱因咖啡");
    setPrice(3.00f);
  }
}

//意大利咖啡
class Espresso extends Coffee {

  public Espresso() {
    setDesc("意大利咖啡");
    setPrice(10.0f);
  }
}

//美式咖啡
class LongBlack extends Coffee {

  public LongBlack() {
    setDesc("美式咖啡");
    setPrice(5.00f);
  }

}
